<?php
/*
 * @Author: CHINAKAIYUAN<sunkaiyuan@namenode.cn>
 * @Date: 2022-02-07 19:30:43
 * @LastEditTime: 2023-07-03 13:30:41
 * @LastEditors: 孙开源 && sunkaiyuan@namenode.cn
 * @Description: 
 */

namespace App\Http\Properties\System;

use OpenApi\Annotations\Property;
use OpenApi\Annotations\Schema;
use App\Http\Properties\Properties;

/**
 *
 * @Schema(
 *     title="用户属性",
 *     description="用户属性"
 * )
 *
 * @package App\Http\Properties\DepartmentProperties
 */
class DepartmentProperties extends Properties
    {
    /**
     * @Property(
     *     type="integer",
     *     description="部门ID"
     * )
     *
     * @var int
     */
    public $id;

    /**
     * @Property(
     *     type="string",
     *     description="部门名称"
     * )
     *
     * @var string
     */
    public $name;
    /**
     * @Property(
     *     type="string",
     *     description="代码"
     * )
     *
     * @var string
     */
    public $code;
    }